3.123 \(\int \frac{(a+b \log (c x^n))^3}{x (d+e x)^3} \, dx\)

Optimal. Leaf size=361 \[ \frac{9 b^2 n^2 \text{PolyLog}\left (2,-\frac{e x}{d}\right ) \left (a+b \log \left (c x^n\right )\right )}{d^3}+\frac{6 b^2 n^2 \text{PolyLog}\left (3,-\frac{e x}{d}\right ) \left (a+b \log \left (c x^n\right )\right )}{d^3}-\frac{3 b n \text{PolyLog}\left (2,-\frac{e x}{d}\right ) \left (a+b \log \left (c x^n\right )\right )^2}{d^3}-\frac{3 b^3 n^3 \text{PolyLog}\left (2,-\frac{e x}{d}\right )}{d^3}-\frac{9 b^3 n^3 \text{PolyLog}\left (3,-\frac{e x}{d}\right )}{d^3}-\frac{6 b^3 n^3 \text{PolyLog}\left (4,-\frac{e x}{d}\right )}{d^3}-\frac{3 b^2 n^2 \log \left (\frac{e x}{d}+1\right ) \left (a+b \log \left (c x^n\right )\right )}{d^3}-\frac{\log \left (\frac{e x}{d}+1\right ) \left (a+b \log \left (c x^n\right )\right )^3}{d^3}-\frac{e x \left (a+b \log \left (c x^n\right )\right )^3}{d^3 (d+e x)}+\frac{9 b n \log \left (\frac{e x}{d}+1\right ) \left (a+b \log \left (c x^n\right )\right )^2}{2 d^3}+\frac{3 b e n x \left (a+b \log \left (c x^n\right )\right )^2}{2 d^3 (d+e x)}+\frac{\left (a+b \log \left (c x^n\right )\right )^4}{4 b d^3 n}-\frac{\left (a+b \log \left (c x^n\right )\right )^3}{2 d^3}+\frac{\left (a+b \log \left (c x^n\right )\right )^3}{2 d (d+e x)^2} \]

[Out]

(3*b*e*n*x*(a + b*Log[c*x^n])^2)/(2*d^3*(d + e*x)) - (a + b*Log[c*x^n])^3/(2*d^3) + (a + b*Log[c*x^n])^3/(2*d*
(d + e*x)^2) - (e*x*(a + b*Log[c*x^n])^3)/(d^3*(d + e*x)) + (a + b*Log[c*x^n])^4/(4*b*d^3*n) - (3*b^2*n^2*(a +
 b*Log[c*x^n])*Log[1 + (e*x)/d])/d^3 + (9*b*n*(a + b*Log[c*x^n])^2*Log[1 + (e*x)/d])/(2*d^3) - ((a + b*Log[c*x
^n])^3*Log[1 + (e*x)/d])/d^3 - (3*b^3*n^3*PolyLog[2, -((e*x)/d)])/d^3 + (9*b^2*n^2*(a + b*Log[c*x^n])*PolyLog[
2, -((e*x)/d)])/d^3 - (3*b*n*(a + b*Log[c*x^n])^2*PolyLog[2, -((e*x)/d)])/d^3 - (9*b^3*n^3*PolyLog[3, -((e*x)/
d)])/d^3 + (6*b^2*n^2*(a + b*Log[c*x^n])*PolyLog[3, -((e*x)/d)])/d^3 - (6*b^3*n^3*PolyLog[4, -((e*x)/d)])/d^3

________________________________________________________________________________________

Rubi [A]  time = 0.852127, antiderivative size = 361, normalized size of antiderivative = 1., number of steps used = 24, number of rules used = 11, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.478, Rules used = {2347, 2344, 2302, 30, 2317, 2374, 2383, 6589, 2318, 2319, 2391} \[ \frac{9 b^2 n^2 \text{PolyLog}\left (2,-\frac{e x}{d}\right ) \left (a+b \log \left (c x^n\right )\right )}{d^3}+\frac{6 b^2 n^2 \text{PolyLog}\left (3,-\frac{e x}{d}\right ) \left (a+b \log \left (c x^n\right )\right )}{d^3}-\frac{3 b n \text{PolyLog}\left (2,-\frac{e x}{d}\right ) \left (a+b \log \left (c x^n\right )\right )^2}{d^3}-\frac{3 b^3 n^3 \text{PolyLog}\left (2,-\frac{e x}{d}\right )}{d^3}-\frac{9 b^3 n^3 \text{PolyLog}\left (3,-\frac{e x}{d}\right )}{d^3}-\frac{6 b^3 n^3 \text{PolyLog}\left (4,-\frac{e x}{d}\right )}{d^3}-\frac{3 b^2 n^2 \log \left (\frac{e x}{d}+1\right ) \left (a+b \log \left (c x^n\right )\right )}{d^3}-\frac{\log \left (\frac{e x}{d}+1\right ) \left (a+b \log \left (c x^n\right )\right )^3}{d^3}-\frac{e x \left (a+b \log \left (c x^n\right )\right )^3}{d^3 (d+e x)}+\frac{9 b n \log \left (\frac{e x}{d}+1\right ) \left (a+b \log \left (c x^n\right )\right )^2}{2 d^3}+\frac{3 b e n x \left (a+b \log \left (c x^n\right )\right )^2}{2 d^3 (d+e x)}+\frac{\left (a+b \log \left (c x^n\right )\right )^4}{4 b d^3 n}-\frac{\left (a+b \log \left (c x^n\right )\right )^3}{2 d^3}+\frac{\left (a+b \log \left (c x^n\right )\right )^3}{2 d (d+e x)^2} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*Log[c*x^n])^3/(x*(d + e*x)^3),x]

[Out]

(3*b*e*n*x*(a + b*Log[c*x^n])^2)/(2*d^3*(d + e*x)) - (a + b*Log[c*x^n])^3/(2*d^3) + (a + b*Log[c*x^n])^3/(2*d*
(d + e*x)^2) - (e*x*(a + b*Log[c*x^n])^3)/(d^3*(d + e*x)) + (a + b*Log[c*x^n])^4/(4*b*d^3*n) - (3*b^2*n^2*(a +
 b*Log[c*x^n])*Log[1 + (e*x)/d])/d^3 + (9*b*n*(a + b*Log[c*x^n])^2*Log[1 + (e*x)/d])/(2*d^3) - ((a + b*Log[c*x
^n])^3*Log[1 + (e*x)/d])/d^3 - (3*b^3*n^3*PolyLog[2, -((e*x)/d)])/d^3 + (9*b^2*n^2*(a + b*Log[c*x^n])*PolyLog[
2, -((e*x)/d)])/d^3 - (3*b*n*(a + b*Log[c*x^n])^2*PolyLog[2, -((e*x)/d)])/d^3 - (9*b^3*n^3*PolyLog[3, -((e*x)/
d)])/d^3 + (6*b^2*n^2*(a + b*Log[c*x^n])*PolyLog[3, -((e*x)/d)])/d^3 - (6*b^3*n^3*PolyLog[4, -((e*x)/d)])/d^3

Rule 2347

Int[(((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*((d_) + (e_.)*(x_))^(q_))/(x_), x_Symbol] :> Dist[1/d, Int[((
d + e*x)^(q + 1)*(a + b*Log[c*x^n])^p)/x, x], x] - Dist[e/d, Int[(d + e*x)^q*(a + b*Log[c*x^n])^p, x], x] /; F
reeQ[{a, b, c, d, e, n}, x] && IGtQ[p, 0] && LtQ[q, -1] && IntegerQ[2*q]

Rule 2344

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)/((x_)*((d_) + (e_.)*(x_))), x_Symbol] :> Dist[1/d, Int[(a + b*
Log[c*x^n])^p/x, x], x] - Dist[e/d, Int[(a + b*Log[c*x^n])^p/(d + e*x), x], x] /; FreeQ[{a, b, c, d, e, n}, x]
 && IGtQ[p, 0]

Rule 2302

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)/(x_), x_Symbol] :> Dist[1/(b*n), Subst[Int[x^p, x], x, a + b*L
og[c*x^n]], x] /; FreeQ[{a, b, c, n, p}, x]

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 2317

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)/((d_) + (e_.)*(x_)), x_Symbol] :> Simp[(Log[1 + (e*x)/d]*(a +
b*Log[c*x^n])^p)/e, x] - Dist[(b*n*p)/e, Int[(Log[1 + (e*x)/d]*(a + b*Log[c*x^n])^(p - 1))/x, x], x] /; FreeQ[
{a, b, c, d, e, n}, x] && IGtQ[p, 0]

Rule 2374

Int[(Log[(d_.)*((e_) + (f_.)*(x_)^(m_.))]*((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.))/(x_), x_Symbol] :> -Sim
p[(PolyLog[2, -(d*f*x^m)]*(a + b*Log[c*x^n])^p)/m, x] + Dist[(b*n*p)/m, Int[(PolyLog[2, -(d*f*x^m)]*(a + b*Log
[c*x^n])^(p - 1))/x, x], x] /; FreeQ[{a, b, c, d, e, f, m, n}, x] && IGtQ[p, 0] && EqQ[d*e, 1]

Rule 2383

Int[(((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*PolyLog[k_, (e_.)*(x_)^(q_.)])/(x_), x_Symbol] :> Simp[(PolyL
og[k + 1, e*x^q]*(a + b*Log[c*x^n])^p)/q, x] - Dist[(b*n*p)/q, Int[(PolyLog[k + 1, e*x^q]*(a + b*Log[c*x^n])^(
p - 1))/x, x], x] /; FreeQ[{a, b, c, e, k, n, q}, x] && GtQ[p, 0]

Rule 6589

Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_Symbol] :> Simp[PolyLog[n + 1, c*(a
+ b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d, e, n, p}, x] && EqQ[b*d, a*e]

Rule 2318

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)/((d_) + (e_.)*(x_))^2, x_Symbol] :> Simp[(x*(a + b*Log[c*x^n])
^p)/(d*(d + e*x)), x] - Dist[(b*n*p)/d, Int[(a + b*Log[c*x^n])^(p - 1)/(d + e*x), x], x] /; FreeQ[{a, b, c, d,
 e, n, p}, x] && GtQ[p, 0]

Rule 2319

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*((d_) + (e_.)*(x_))^(q_.), x_Symbol] :> Simp[((d + e*x)^(q + 1
)*(a + b*Log[c*x^n])^p)/(e*(q + 1)), x] - Dist[(b*n*p)/(e*(q + 1)), Int[((d + e*x)^(q + 1)*(a + b*Log[c*x^n])^
(p - 1))/x, x], x] /; FreeQ[{a, b, c, d, e, n, p, q}, x] && GtQ[p, 0] && NeQ[q, -1] && (EqQ[p, 1] || (Integers
Q[2*p, 2*q] &&  !IGtQ[q, 0]) || (EqQ[p, 2] && NeQ[q, 1]))

Rule 2391

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> -Simp[PolyLog[2, -(c*e*x^n)]/n, x] /; FreeQ[{c, d,
 e, n}, x] && EqQ[c*d, 1]

Rubi steps

\begin{align*} \int \frac{\left (a+b \log \left (c x^n\right )\right )^3}{x (d+e x)^3} \, dx &=\frac{\int \frac{\left (a+b \log \left (c x^n\right )\right )^3}{x (d+e x)^2} \, dx}{d}-\frac{e \int \frac{\left (a+b \log \left (c x^n\right )\right )^3}{(d+e x)^3} \, dx}{d}\\ &=\frac{\left (a+b \log \left (c x^n\right )\right )^3}{2 d (d+e x)^2}+\frac{\int \frac{\left (a+b \log \left (c x^n\right )\right )^3}{x (d+e x)} \, dx}{d^2}-\frac{e \int \frac{\left (a+b \log \left (c x^n\right )\right )^3}{(d+e x)^2} \, dx}{d^2}-\frac{(3 b n) \int \frac{\left (a+b \log \left (c x^n\right )\right )^2}{x (d+e x)^2} \, dx}{2 d}\\ &=\frac{\left (a+b \log \left (c x^n\right )\right )^3}{2 d (d+e x)^2}-\frac{e x \left (a+b \log \left (c x^n\right )\right )^3}{d^3 (d+e x)}+\frac{\int \frac{\left (a+b \log \left (c x^n\right )\right )^3}{x} \, dx}{d^3}-\frac{e \int \frac{\left (a+b \log \left (c x^n\right )\right )^3}{d+e x} \, dx}{d^3}-\frac{(3 b n) \int \frac{\left (a+b \log \left (c x^n\right )\right )^2}{x (d+e x)} \, dx}{2 d^2}+\frac{(3 b e n) \int \frac{\left (a+b \log \left (c x^n\right )\right )^2}{d+e x} \, dx}{d^3}+\frac{(3 b e n) \int \frac{\left (a+b \log \left (c x^n\right )\right )^2}{(d+e x)^2} \, dx}{2 d^2}\\ &=\frac{3 b e n x \left (a+b \log \left (c x^n\right )\right )^2}{2 d^3 (d+e x)}+\frac{\left (a+b \log \left (c x^n\right )\right )^3}{2 d (d+e x)^2}-\frac{e x \left (a+b \log \left (c x^n\right )\right )^3}{d^3 (d+e x)}+\frac{3 b n \left (a+b \log \left (c x^n\right )\right )^2 \log \left (1+\frac{e x}{d}\right )}{d^3}-\frac{\left (a+b \log \left (c x^n\right )\right )^3 \log \left (1+\frac{e x}{d}\right )}{d^3}+\frac{\operatorname{Subst}\left (\int x^3 \, dx,x,a+b \log \left (c x^n\right )\right )}{b d^3 n}-\frac{(3 b n) \int \frac{\left (a+b \log \left (c x^n\right )\right )^2}{x} \, dx}{2 d^3}+\frac{(3 b n) \int \frac{\left (a+b \log \left (c x^n\right )\right )^2 \log \left (1+\frac{e x}{d}\right )}{x} \, dx}{d^3}+\frac{(3 b e n) \int \frac{\left (a+b \log \left (c x^n\right )\right )^2}{d+e x} \, dx}{2 d^3}-\frac{\left (6 b^2 n^2\right ) \int \frac{\left (a+b \log \left (c x^n\right )\right ) \log \left (1+\frac{e x}{d}\right )}{x} \, dx}{d^3}-\frac{\left (3 b^2 e n^2\right ) \int \frac{a+b \log \left (c x^n\right )}{d+e x} \, dx}{d^3}\\ &=\frac{3 b e n x \left (a+b \log \left (c x^n\right )\right )^2}{2 d^3 (d+e x)}+\frac{\left (a+b \log \left (c x^n\right )\right )^3}{2 d (d+e x)^2}-\frac{e x \left (a+b \log \left (c x^n\right )\right )^3}{d^3 (d+e x)}+\frac{\left (a+b \log \left (c x^n\right )\right )^4}{4 b d^3 n}-\frac{3 b^2 n^2 \left (a+b \log \left (c x^n\right )\right ) \log \left (1+\frac{e x}{d}\right )}{d^3}+\frac{9 b n \left (a+b \log \left (c x^n\right )\right )^2 \log \left (1+\frac{e x}{d}\right )}{2 d^3}-\frac{\left (a+b \log \left (c x^n\right )\right )^3 \log \left (1+\frac{e x}{d}\right )}{d^3}+\frac{6 b^2 n^2 \left (a+b \log \left (c x^n\right )\right ) \text{Li}_2\left (-\frac{e x}{d}\right )}{d^3}-\frac{3 b n \left (a+b \log \left (c x^n\right )\right )^2 \text{Li}_2\left (-\frac{e x}{d}\right )}{d^3}-\frac{3 \operatorname{Subst}\left (\int x^2 \, dx,x,a+b \log \left (c x^n\right )\right )}{2 d^3}-\frac{\left (3 b^2 n^2\right ) \int \frac{\left (a+b \log \left (c x^n\right )\right ) \log \left (1+\frac{e x}{d}\right )}{x} \, dx}{d^3}+\frac{\left (6 b^2 n^2\right ) \int \frac{\left (a+b \log \left (c x^n\right )\right ) \text{Li}_2\left (-\frac{e x}{d}\right )}{x} \, dx}{d^3}+\frac{\left (3 b^3 n^3\right ) \int \frac{\log \left (1+\frac{e x}{d}\right )}{x} \, dx}{d^3}-\frac{\left (6 b^3 n^3\right ) \int \frac{\text{Li}_2\left (-\frac{e x}{d}\right )}{x} \, dx}{d^3}\\ &=\frac{3 b e n x \left (a+b \log \left (c x^n\right )\right )^2}{2 d^3 (d+e x)}-\frac{\left (a+b \log \left (c x^n\right )\right )^3}{2 d^3}+\frac{\left (a+b \log \left (c x^n\right )\right )^3}{2 d (d+e x)^2}-\frac{e x \left (a+b \log \left (c x^n\right )\right )^3}{d^3 (d+e x)}+\frac{\left (a+b \log \left (c x^n\right )\right )^4}{4 b d^3 n}-\frac{3 b^2 n^2 \left (a+b \log \left (c x^n\right )\right ) \log \left (1+\frac{e x}{d}\right )}{d^3}+\frac{9 b n \left (a+b \log \left (c x^n\right )\right )^2 \log \left (1+\frac{e x}{d}\right )}{2 d^3}-\frac{\left (a+b \log \left (c x^n\right )\right )^3 \log \left (1+\frac{e x}{d}\right )}{d^3}-\frac{3 b^3 n^3 \text{Li}_2\left (-\frac{e x}{d}\right )}{d^3}+\frac{9 b^2 n^2 \left (a+b \log \left (c x^n\right )\right ) \text{Li}_2\left (-\frac{e x}{d}\right )}{d^3}-\frac{3 b n \left (a+b \log \left (c x^n\right )\right )^2 \text{Li}_2\left (-\frac{e x}{d}\right )}{d^3}-\frac{6 b^3 n^3 \text{Li}_3\left (-\frac{e x}{d}\right )}{d^3}+\frac{6 b^2 n^2 \left (a+b \log \left (c x^n\right )\right ) \text{Li}_3\left (-\frac{e x}{d}\right )}{d^3}-\frac{\left (3 b^3 n^3\right ) \int \frac{\text{Li}_2\left (-\frac{e x}{d}\right )}{x} \, dx}{d^3}-\frac{\left (6 b^3 n^3\right ) \int \frac{\text{Li}_3\left (-\frac{e x}{d}\right )}{x} \, dx}{d^3}\\ &=\frac{3 b e n x \left (a+b \log \left (c x^n\right )\right )^2}{2 d^3 (d+e x)}-\frac{\left (a+b \log \left (c x^n\right )\right )^3}{2 d^3}+\frac{\left (a+b \log \left (c x^n\right )\right )^3}{2 d (d+e x)^2}-\frac{e x \left (a+b \log \left (c x^n\right )\right )^3}{d^3 (d+e x)}+\frac{\left (a+b \log \left (c x^n\right )\right )^4}{4 b d^3 n}-\frac{3 b^2 n^2 \left (a+b \log \left (c x^n\right )\right ) \log \left (1+\frac{e x}{d}\right )}{d^3}+\frac{9 b n \left (a+b \log \left (c x^n\right )\right )^2 \log \left (1+\frac{e x}{d}\right )}{2 d^3}-\frac{\left (a+b \log \left (c x^n\right )\right )^3 \log \left (1+\frac{e x}{d}\right )}{d^3}-\frac{3 b^3 n^3 \text{Li}_2\left (-\frac{e x}{d}\right )}{d^3}+\frac{9 b^2 n^2 \left (a+b \log \left (c x^n\right )\right ) \text{Li}_2\left (-\frac{e x}{d}\right )}{d^3}-\frac{3 b n \left (a+b \log \left (c x^n\right )\right )^2 \text{Li}_2\left (-\frac{e x}{d}\right )}{d^3}-\frac{9 b^3 n^3 \text{Li}_3\left (-\frac{e x}{d}\right )}{d^3}+\frac{6 b^2 n^2 \left (a+b \log \left (c x^n\right )\right ) \text{Li}_3\left (-\frac{e x}{d}\right )}{d^3}-\frac{6 b^3 n^3 \text{Li}_4\left (-\frac{e x}{d}\right )}{d^3}\\ \end{align*}

Mathematica [A]  time = 0.894021, size = 706, normalized size = 1.96 \[ \frac{2 b^2 n^2 \left (6 (d+e x)^2 \text{PolyLog}\left (2,-\frac{e x}{d}\right )-6 (d+e x)^2 \left (-2 \text{PolyLog}\left (3,-\frac{e x}{d}\right )+2 \log (x) \text{PolyLog}\left (2,-\frac{e x}{d}\right )+\log ^2(x) \log \left (\frac{e x}{d}+1\right )\right )-6 (d+e x) \left (\log (x) \left (e x \log (x)-2 (d+e x) \log \left (\frac{e x}{d}+1\right )\right )-2 (d+e x) \text{PolyLog}\left (2,-\frac{e x}{d}\right )\right )+2 \log ^3(x) (d+e x)^2-3 e x \log ^2(x) (2 d+e x)+6 \log (x) (d+e x) \left ((d+e x) \log \left (\frac{e x}{d}+1\right )+e x\right )-6 (d+e x)^2 \log (d+e x)\right ) \left (a+b \log \left (c x^n\right )-b n \log (x)\right )+6 b n \left (-2 (d+e x)^2 \text{PolyLog}\left (2,-\frac{e x}{d}\right )+\log ^2(x) (d+e x)^2+(d+e x) (3 (d+e x) \log (d+e x)-d)-\log (x) \left (e x (4 d+3 e x)+2 (d+e x)^2 \log \left (\frac{e x}{d}+1\right )\right )\right ) \left (a+b \log \left (c x^n\right )-b n \log (x)\right )^2+b^3 n^3 \left (-4 (d+e x) \left (6 (d+e x) \text{PolyLog}\left (3,-\frac{e x}{d}\right )-6 \log (x) (d+e x) \text{PolyLog}\left (2,-\frac{e x}{d}\right )+\log ^2(x) \left (e x \log (x)-3 (d+e x) \log \left (\frac{e x}{d}+1\right )\right )\right )-2 \left (6 (d+e x)^2 \text{PolyLog}\left (3,-\frac{e x}{d}\right )-6 (\log (x)-1) (d+e x)^2 \text{PolyLog}\left (2,-\frac{e x}{d}\right )+\log (x) \left (e x \log ^2(x) (2 d+e x)+6 (d+e x)^2 \log \left (\frac{e x}{d}+1\right )-3 \log (x) (d+e x) \left ((d+e x) \log \left (\frac{e x}{d}+1\right )+e x\right )\right )\right )-4 (d+e x)^2 \left (6 \text{PolyLog}\left (4,-\frac{e x}{d}\right )+3 \log ^2(x) \text{PolyLog}\left (2,-\frac{e x}{d}\right )-6 \log (x) \text{PolyLog}\left (3,-\frac{e x}{d}\right )+\log ^3(x) \log \left (\frac{e x}{d}+1\right )\right )+\log ^4(x) (d+e x)^2\right )+2 d^2 \left (a+b \log \left (c x^n\right )-b n \log (x)\right )^3+4 d (d+e x) \left (a+b \log \left (c x^n\right )-b n \log (x)\right )^3+4 \log (x) (d+e x)^2 \left (a+b \log \left (c x^n\right )-b n \log (x)\right )^3-4 (d+e x)^2 \log (d+e x) \left (a+b \log \left (c x^n\right )-b n \log (x)\right )^3}{4 d^3 (d+e x)^2} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Log[c*x^n])^3/(x*(d + e*x)^3),x]

[Out]

(2*d^2*(a - b*n*Log[x] + b*Log[c*x^n])^3 + 4*d*(d + e*x)*(a - b*n*Log[x] + b*Log[c*x^n])^3 + 4*(d + e*x)^2*Log
[x]*(a - b*n*Log[x] + b*Log[c*x^n])^3 - 4*(d + e*x)^2*(a - b*n*Log[x] + b*Log[c*x^n])^3*Log[d + e*x] + 6*b*n*(
a - b*n*Log[x] + b*Log[c*x^n])^2*((d + e*x)^2*Log[x]^2 + (d + e*x)*(-d + 3*(d + e*x)*Log[d + e*x]) - Log[x]*(e
*x*(4*d + 3*e*x) + 2*(d + e*x)^2*Log[1 + (e*x)/d]) - 2*(d + e*x)^2*PolyLog[2, -((e*x)/d)]) + 2*b^2*n^2*(a - b*
n*Log[x] + b*Log[c*x^n])*(-3*e*x*(2*d + e*x)*Log[x]^2 + 2*(d + e*x)^2*Log[x]^3 - 6*(d + e*x)^2*Log[d + e*x] +
6*(d + e*x)*Log[x]*(e*x + (d + e*x)*Log[1 + (e*x)/d]) + 6*(d + e*x)^2*PolyLog[2, -((e*x)/d)] - 6*(d + e*x)*(Lo
g[x]*(e*x*Log[x] - 2*(d + e*x)*Log[1 + (e*x)/d]) - 2*(d + e*x)*PolyLog[2, -((e*x)/d)]) - 6*(d + e*x)^2*(Log[x]
^2*Log[1 + (e*x)/d] + 2*Log[x]*PolyLog[2, -((e*x)/d)] - 2*PolyLog[3, -((e*x)/d)])) + b^3*n^3*((d + e*x)^2*Log[
x]^4 - 4*(d + e*x)*(Log[x]^2*(e*x*Log[x] - 3*(d + e*x)*Log[1 + (e*x)/d]) - 6*(d + e*x)*Log[x]*PolyLog[2, -((e*
x)/d)] + 6*(d + e*x)*PolyLog[3, -((e*x)/d)]) - 2*(Log[x]*(e*x*(2*d + e*x)*Log[x]^2 + 6*(d + e*x)^2*Log[1 + (e*
x)/d] - 3*(d + e*x)*Log[x]*(e*x + (d + e*x)*Log[1 + (e*x)/d])) - 6*(d + e*x)^2*(-1 + Log[x])*PolyLog[2, -((e*x
)/d)] + 6*(d + e*x)^2*PolyLog[3, -((e*x)/d)]) - 4*(d + e*x)^2*(Log[x]^3*Log[1 + (e*x)/d] + 3*Log[x]^2*PolyLog[
2, -((e*x)/d)] - 6*Log[x]*PolyLog[3, -((e*x)/d)] + 6*PolyLog[4, -((e*x)/d)])))/(4*d^3*(d + e*x)^2)

________________________________________________________________________________________

Maple [F]  time = 1.187, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) ^{3}}{x \left ( ex+d \right ) ^{3}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*ln(c*x^n))^3/x/(e*x+d)^3,x)

[Out]

int((a+b*ln(c*x^n))^3/x/(e*x+d)^3,x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \frac{1}{2} \, a^{3}{\left (\frac{2 \, e x + 3 \, d}{d^{2} e^{2} x^{2} + 2 \, d^{3} e x + d^{4}} - \frac{2 \, \log \left (e x + d\right )}{d^{3}} + \frac{2 \, \log \left (x\right )}{d^{3}}\right )} + \int \frac{b^{3} \log \left (c\right )^{3} + b^{3} \log \left (x^{n}\right )^{3} + 3 \, a b^{2} \log \left (c\right )^{2} + 3 \, a^{2} b \log \left (c\right ) + 3 \,{\left (b^{3} \log \left (c\right ) + a b^{2}\right )} \log \left (x^{n}\right )^{2} + 3 \,{\left (b^{3} \log \left (c\right )^{2} + 2 \, a b^{2} \log \left (c\right ) + a^{2} b\right )} \log \left (x^{n}\right )}{e^{3} x^{4} + 3 \, d e^{2} x^{3} + 3 \, d^{2} e x^{2} + d^{3} x}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))^3/x/(e*x+d)^3,x, algorithm="maxima")

[Out]

1/2*a^3*((2*e*x + 3*d)/(d^2*e^2*x^2 + 2*d^3*e*x + d^4) - 2*log(e*x + d)/d^3 + 2*log(x)/d^3) + integrate((b^3*l
og(c)^3 + b^3*log(x^n)^3 + 3*a*b^2*log(c)^2 + 3*a^2*b*log(c) + 3*(b^3*log(c) + a*b^2)*log(x^n)^2 + 3*(b^3*log(
c)^2 + 2*a*b^2*log(c) + a^2*b)*log(x^n))/(e^3*x^4 + 3*d*e^2*x^3 + 3*d^2*e*x^2 + d^3*x), x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{b^{3} \log \left (c x^{n}\right )^{3} + 3 \, a b^{2} \log \left (c x^{n}\right )^{2} + 3 \, a^{2} b \log \left (c x^{n}\right ) + a^{3}}{e^{3} x^{4} + 3 \, d e^{2} x^{3} + 3 \, d^{2} e x^{2} + d^{3} x}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))^3/x/(e*x+d)^3,x, algorithm="fricas")

[Out]

integral((b^3*log(c*x^n)^3 + 3*a*b^2*log(c*x^n)^2 + 3*a^2*b*log(c*x^n) + a^3)/(e^3*x^4 + 3*d*e^2*x^3 + 3*d^2*e
*x^2 + d^3*x), x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a + b \log{\left (c x^{n} \right )}\right )^{3}}{x \left (d + e x\right )^{3}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*ln(c*x**n))**3/x/(e*x+d)**3,x)

[Out]

Integral((a + b*log(c*x**n))**3/(x*(d + e*x)**3), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \log \left (c x^{n}\right ) + a\right )}^{3}}{{\left (e x + d\right )}^{3} x}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))^3/x/(e*x+d)^3,x, algorithm="giac")

[Out]

integrate((b*log(c*x^n) + a)^3/((e*x + d)^3*x), x)